package com.night.student.service;

import com.night.common.entity.administration.Teacher;
import com.night.common.entity.student.Student;
import com.night.student.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author Mr.Wang
 * @ClassName: StudentService
 * @Description: //TODO
 * @date: 2022/10/18-19:31
 */
public interface StudentService {
    //新增单个学生
    void add(Student student);
    //修改个人信息
    void update(Student student);
    //批量增加
    void adds(List<Student> students);
    //查询个人信息
    Student getInfo(int id);
    //查询个人信息
    Student getInfoByNumber(String studentNumber);
    //根据班级id查学生
    List<Student> getByClassId(int classId);
    //学生查自己的辅导员信息
    Teacher getByStudent(int id);
}
